/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.article.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.article.entity.TestArticles;
import com.thinkgem.jeesite.modules.article.dao.TestArticlesDao;

/**
 * 文章管理Service
 * @author Tony
 * @version 2018-05-11
 */
@Service
@Transactional(readOnly = true)
public class TestArticlesService extends CrudService<TestArticlesDao, TestArticles> {

    public TestArticles get(String id) {
        return super.get(id);
    }

    public List<TestArticles> findList(TestArticles testArticles) {
        return super.findList(testArticles);
    }

    public Page<TestArticles> findPage(Page<TestArticles> page, TestArticles testArticles) {
        return super.findPage(page, testArticles);
    }

    @Transactional(readOnly = false)
    public void save(TestArticles testArticles) {
        super.save(testArticles);
    }

    @Transactional(readOnly = false)
    public void delete(TestArticles testArticles) {
        super.delete(testArticles);
    }

}